package ${servicePackage};

import javax.annotation.Resource;
import javax.transaction.Transactional;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

import com.sutaitech.beidouhome.component.core.DefaultEntityRepository;
import com.sutaitech.beidouhome.component.core.DefaultEntityService;
import ${modelPackage}.${className};
import ${repositoryPackage}.${className}Repository;

/**
 * ${description}
 * @author liuyonggang
 * @date 2014-11-12
 */
@Service
@Transactional
public class ${className}Service extends DefaultEntityService<${className}, Integer> {
	
	/**
	 * Logger for this class
	 */
	private static final Logger logger = Logger.getLogger(${className}Service.class);
	
	
	@Resource
	${className}Repository ${classname}Repository;

	@Override
	protected DefaultEntityRepository<${className}, Integer> getDao() {
		return ${classname}Repository;
	}



}